package cn.gene.timeyan.pojo.article.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 鏂囩珷璇勮?鐨勫洖澶
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("arms_reply")
public class Reply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "article_reply_id", type = IdType.AUTO)
    private Long articleReplyId;

    /**
     * 鍥炲?浜篒D
     */
    private Long respondentId;

    /**
     * 琚?洖澶嶄汉ID
     */
    private Long byRespondentId;

    /**
     * 璇勮?ID
     */
    private Long commentId;

    /**
     * 甯栧瓙ID
     */
    private Long articleId;

    /**
     * 鍐呭?
     */
    private String replyContent;

    /**
     * 璇勮?鑰呮槸鍚︿负甯栧瓙浣滆?鏍囪瘑 锛?鍚?1鏄?級
     */
    private String isAuthor;

    /**
     * 璇勮?鐘舵?锛?涓嶆樉绀恒?1鏄剧ず)
     */
    private String replyState;

    /**
     * 鍒涘缓鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 淇?敼鏃堕棿
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
